home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 3 / Amiga Format CD03 (1996-07-04)(Future Publishing)(GB)(Track 1 of 6)[!][issue 1996-08].iso / comms / netsoftware / sana2_cslip.lha / slip_device.i < prev    next >
Text File  |  1993-01-11  |  895b  |  55 lines

  1. **
  2. ** $Source: hog:Other/networking/sana2/src/slip/RCS/slip_device.i,v $
  3. ** $State: Exp $
  4. ** $Revision: 37.1 $
  5. ** $Date: 92/07/26 16:10:30 $
  6. ** $Author: kcd $
  7. **
  8. ** SANA-II Example device driver assembly include file
  9. **
  10. ** (C) Copyright 1992 Commodore-Amiga, Inc.
  11. **
  12.  
  13.     include "exec/types.i"
  14.     include "exec/devices.i"
  15.     include "exec/ports.i"
  16.     include "exec/semaphores.i"
  17.  
  18.  
  19. **
  20. ** SLIP Driver Device Base definition
  21. **
  22.  
  23. SD_MAXUNITS    EQU    8
  24.  
  25.  STRUCTURE SLIPDev,LIB_SIZE
  26.     UBYTE   sd_Flags
  27.     UBYTE   sd_Pad1
  28.     ULONG   sd_SysLib
  29.     ULONG   sd_DosLib
  30.     STRUCT  sd_DosTag,10*4
  31.     ULONG   sd_SegList
  32.     STRUCT  sd_Units,SD_MAXUNITS*4
  33.     STRUCT  sd_Lock,SS_SIZE
  34.     STRUCT  sd_Startup,MN_SIZE+8
  35.  
  36.     LABEL SLIPDev_Sizeof
  37.  
  38. **
  39. ** Device Name Macro
  40. **
  41.  
  42. SLIPDEVNAME    MACRO
  43.         DC.B    'slip.device',0
  44.         ENDM
  45.  
  46. **
  47. ** Handy system call macro
  48. **
  49.  
  50. jsrlib    MACRO
  51.     XREF    _LVO\1
  52.     jsr    _LVO\1(a6)
  53.     ENDM
  54.  
  55.